﻿using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Reflection;
using IDAL;
using Model;

namespace BLL
{
    public class House : BaseService<HouseInfo>
    {
        private static readonly IHouse dal = DALFactory.DataAccess.CreateHouse();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<HouseInfo> GetHousesbyMO(string moID)
        {
            return dal.GetHousesbyMO(moID);
        }
    }
}
